1bashThis demonstrates a forever (infinite) while loop that executes a command and sleeps for 10 seconds repeatedly.while true; do # example_command_to_execute echo "--- sleep 10 ---" sleep 10 donebash internalloopswhile loopforever (infinite)